package cn.wolfcode.service;

import cn.wolfcode.domain.OnMsgEntity;
import cn.wolfcode.domain.OutMsgEntity;

public interface IWeCharService {
    /**
     * url接入校验
     * @param signature
     * @param timestamp
     * @param nonce
     * @param echostr
     * @return
     */
    String weChar(String signature, String timestamp, String nonce, String echostr);

    /**
     * 消息处理
     * @param onMsgEntity
     * @return
     */
    OutMsgEntity handelMsg(OnMsgEntity onMsgEntity);
}
